Skip to content

Conversation

@marcbal77
Copy link
Member

Summary

  • Remove rm -rf _build/html/_images which deleted images before each build
  • Sphinx-gallery skips unchanged examples, but cached doctrees prevented image re-copying
  • Also quote $(GH_PAGES_REPO) for paths with spaces

Test plan

  • Run make clean && make html (first build)
  • Run make html again (second build)
  • Verify images persist (34 images vs 2 before fix)

Remove `rm -rf _build/html/_images` which deleted images before each build.
Sphinx-gallery skips unchanged examples, but cached doctrees prevented
image re-copying. Also quote $(GH_PAGES_REPO) for paths with spaces.
Copy link
Member

@sarudak sarudak left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great! Merge it!

@marcbal77 marcbal77 merged commit b88d21c into bio-learn:master Dec 2, 2025
1 check passed
@marcbal77
Copy link
Member Author

Merged

@marcbal77 marcbal77 deleted the fix/docs-image-persistence branch December 2, 2025 02:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants